package exce1.exce02;

public class Demo11 {
    public static void main(String[] args) {
        Demo1 d=new Demo1();
        d=new Demo1(20,"小猫");
        d.setBrand("小虎");
        d.setPrice(2530);
        String name=d.getBrand();
        System.out.println(name);
        int price=d.getPrice();
        System.out.println(price);
    }
}
